
import { defineStore } from "pinia";

import type { LowCodeDialogCFG } from "../interface";

interface LowcodeStoreState {
  dialogCFG: LowCodeDialogCFG
}

export const useLowCodeStore = defineStore("lowcode", {
  state: (): LowcodeStoreState => ({ dialogCFG: {} }),
  actions: {
    setDialogCFG(dialogCFGProxy: any) {
      this.dialogCFG = dialogCFGProxy;
    },
  },
  getters: {
    // ... your getters
  },
})
